<?php
 session_start();
 if(!isset($_SESSION['username']))
 {
 	
 	echo "<script>window.location.href='login.php'</script>";
 }
 
?>